<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	  			xmlns:h="http://java.sun.com/jsf/html"
	    		xmlns:ui="http://java.sun.com/jsf/facelets"
				xmlns:c="http://java.sun.com/jsp/jstl/core"
	  			xmlns:p="http://primefaces.prime.com.tr/ui"
				template="/WEB-INF/layouts/default.xhtml">
	<ui:define name="content">
		<p:fieldset>
		<h:form id="raceForm">
	   		<p:messages />
			
			<h:panelGrid columns="2">
				<h:outputLabel for="name" value="Name" />
				<h:inputText id="name" label="Name" value="${race.name}" />
			</h:panelGrid>
			
			<h:panelGrid>
				<p:commandButton value="Save"
								 action="save" process="@form" update="raceForm" />
			</h:panelGrid>
		</h:form>
		</p:fieldset>
	</ui:define>
</ui:composition>